package com.ps.mapper;

import com.ps.pojo.Premission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 功能表 Mapper 接口
 * </p>
 *
 * @author ${author}
 * @since 2020-12-18
 */
public interface PremissionMapper extends BaseMapper<Premission> {
    public List<String> findPermCodeList(Integer roleId);

    List<Premission> findByParentId(Integer parentId);
}
